<div class="span-8 last">
	<div class="lng_part">
		<a href="http://marseille.catholique.fr/" target="blank"> <img width="50px" src="<?php bloginfo('template_directory'); ?>/images/3360260_300.jpg" alt="Diocèse de Marseille" title="Diocèse de Marseille"></a>
		<a href=" http://ecclesiacampus.fr/" target="blank"> <img width="70px" src="<?php bloginfo('template_directory'); ?>/images/ec.jpg" alt="Diocèse de Marseille" title="Réseau des aumôneries étudiantes"></a>
		<a href="http://www.rtm.fr/guide-voyageur/" target="blank"> <img width="90px" src="<?php bloginfo('template_directory'); ?>/images/logo_rtm.jpg" alt="RTM" title="le transporteur de la culture"></a>
	</div>
	<div class="sidebar">
        <?php
		if(get_theme_option('socialnetworks') != '') {
			?>
			<div class="addthis_toolbox">   
			    <div class="custom_images">
		            <a class="addthis_button_twitter"><img src="<?php bloginfo('template_directory'); ?>/images/socialicons/twitter.png" width="32" height="32" alt="Twitter" /></a>
		            <a class="addthis_button_delicious"><img src="<?php bloginfo('template_directory'); ?>/images/socialicons/delicious.png" width="32" height="32" alt="Delicious" /></a>
		            <a class="addthis_button_facebook"><img src="<?php bloginfo('template_directory'); ?>/images/socialicons/facebook.png" width="32" height="32" alt="Facebook" /></a>
		            <a class="addthis_button_digg"><img src="<?php bloginfo('template_directory'); ?>/images/socialicons/digg.png" width="32" height="32" alt="Digg" /></a>
		            <a class="addthis_button_stumbleupon"><img src="<?php bloginfo('template_directory'); ?>/images/socialicons/stumbleupon.png" width="32" height="32" alt="Stumbleupon" /></a>
		            <a class="addthis_button_favorites"><img src="<?php bloginfo('template_directory'); ?>/images/socialicons/favorites.png" width="32" height="32" alt="Favorites" /></a>
		            <a class="addthis_button_more"><img src="<?php bloginfo('template_directory'); ?>/images/socialicons/more.png" width="32" height="32" alt="More" /></a>
				</div>
				    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a65e1d93cd75e94"></script>
				</div>
				<?php
			}
		?>
        
        <?php
		if(get_theme_option('rssbox') == 'true') {
			?>
    			<div class="rssbox">
    				<a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss.png"  alt="RSS Feed" title="RSS Feed" style="vertical-align:middle; margin-right: 5px;"  /></a><a href="<?php bloginfo('rss2_url'); ?>"><?php echo get_theme_option('rssboxtext'); ?></a>
    			</div>
    			<?php
    		}
    	?>
    	
    	<?php
    		if(get_theme_option('twitter') != '') {
    			?>
    			
    			<?php
    		}
    	?>
		

		<h2 style="margin-bottom: 10px;">Nous contacter</h2>
		<div class="twitterbox">
    				<div class="contact">
						<div class="mail" title="Nous joindre par mail" data-toggle="tooltip" onclick="openGMail()"></div>
						<div class="tel" title="Nous joindre par téléphone" data-toggle="tooltip" onclick="openModal('#contact-modal')"></div>
						<div class="facebook" title="Rejoingnez-nous sur facebook" data-toggle="tooltip" onclick="openFacebook()"></div>
					</div>
    	</div>		

		<h2 style="margin-bottom: 10px;">Planning des évènements</h2>
		<div id="eventCalendarInline"></div>
				<script>
					$(document).ready(function() {
						var eventsInline = [
						{ "date": "1366462800000", "type": "Concert", "title": "Concert 2013", "description": "Concert 2013 de l'aumônerie Jer'Aum", "url": "#" },
						{ "date": "1365323400000", "type": "Messe", "title": "Messe 1er dimanche", "description": "à l'église de Saint-Jérôme", "url": "#" },
						{ "date": "1365926400000", "type": "Messe", "title": "Messe 2eme dimanche", "description": "à l'église du Merlan", "url": "#" },
						{ "date": "1367685000000", "type": "Messe", "title": "Messe sectorale", "description": "à l'église de la croix-rouge", "url": "#" },
						{ "date": "1367742600000", "type": "Messe", "title": "Messe 1er dimanche", "description": "à l'église de Saint-Jérôme", "url": "#" },
						{ "date": "1368345600000", "type": "Messe", "title": "Messe 2eme dimanche", "description": "à l'église du Merlan", "url": "#" },
						{ "date": "1369501200000", "type": "Animation", "title": "Animation Festival du merlan", "description": "Répertoire de 5 chants", "url": "#" },
						{ "date": "1370161800000", "type": "Messe", "title": "Messe 1er dimanche", "description": "à l'église de Saint-Jérôme", "url": "#" },
						{ "date": "1370764800000", "type": "Messe", "title": "Messe 2eme dimanche", "description": "à l'église du Merlan", "url": "#" },
						{ "date": "1370451600000", "type": "Animation", "title": "Animation diocésaine 2013", "description": "à la cathédrale", "url": "#" },
						{ "date": "1372683600000", "type": "Concert", "title": "Participation au concert de la chorale amie Saint charles Lwanga", "description": "Boulevard national", "url": "#" },
						//Repas
						{ "date": "1369242000000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1368637200000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1368032400000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },	
						{ "date": "1367427600000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1369846800000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1370451600000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },	
						
						{ "date": "1371056400000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1371661200000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1372266000000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1365008400000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1365613200000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1366218000000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" },
						{ "date": "1366822800000", "type": "Repas", "title": "Repas du Mercredi", "description": "à l'aumônerie", "url": "#" }
						];

						$("#eventCalendarInline").eventCalendar({
							jsonData: eventsInline,
							monthNames: [ "Janvier", "Février", "Mars", "Avril", "Mai", "Juin","Juillet", "Août", "Septembre", "Octobre", "Novembre", "Decembre" ],
							dayNames: [ 'Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi' ],
							dayNamesShort: [ 'Dim','Lun','Mar','Mer', 'Jeu','Ven','Sam' ],
							txt_noEvents: "Aucun événement dans cette période",
							txt_SpecificEvents_prev: "",
							txt_SpecificEvents_after: " - Les événements:",
							txt_next: "suivant",
							txt_prev: "précédent",
							txt_NextEvents: "Liste des événements:",
							txt_GoToEventUrl: "Voir le détail",
							language: 'fr'
						});
					});
				</script>
        
		<?php if(get_theme_option('ads_125') != '') {
			?>
			<div class="sidebaradbox">
				<?php sidebar_ads_125(); ?>
			</div>
		<?php } ?>
        
		<ul>
			<?php 
					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

				
				<li><h2><?php _e('Recent Posts'); ?></h2>
			               <ul>
					<?php wp_get_archives('type=postbypost&limit=5'); ?>  
			               </ul>
				</li>
				
				<li><h2>Archives</h2>
					<ul>
					<?php wp_get_archives('type=monthly'); ?>
					</ul>
				</li>
				
				<li> 
					<h2>Calendar</h2>
					<?php get_calendar(); ?> 
				</li>
				
				<?php wp_list_categories('hide_empty=0&show_count=1&title_li=<h2>Categories</h2>'); ?>
				
				<li id="tag_cloud"><h2>Tags</h2>
					<?php wp_tag_cloud('largest=16&format=flat&number=20'); ?>
				</li>
				
				<?php wp_list_bookmarks(); ?>
				
				<?php include (TEMPLATEPATH . '/recent-comments.php'); ?>
				<?php if (function_exists('get_recent_comments')) { get_recent_comments(); } ?>
				
				
				<li><h2>Meta</h2>
					<ul>
						<?php wp_register(); ?>
						<li><?php wp_loginout(); ?></li>
						<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
						<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
						<?php wp_meta(); ?>
					</ul>
					</li>
					
			<?php endif; ?>
		</ul>

		<?php if(get_theme_option('ad_sidebar1_bottom') != '') {
		?>
		<div class="sidebaradbox">
			<?php echo get_theme_option('ad_sidebar1_bottom'); ?>
		</div>
		<?php
		}
		?>
	</div>
	<div id="contact-modal" class="modal hide fade in" style="display: none; ">  
		<div class="modal-header">  
			<a class="close" data-dismiss="modal" style="text-decoration: none">×</a>  
			<h3>Contacter l'aumônerie par téléphone</h3>  
		</div>  
		<div class="modal-body">  
			<p>Fixe: pas de téléphone fixe pour le moment</p>
			<p>portable:  (+33) 6 11 90 86 88 </p>              
		</div>  
		<div class="modal-footer">
			<a href="#" class="btn" data-dismiss="modal" style="text-decoration: none">Close</a>  
		</div>  
	</div>
</div>
